package jse;

import java.util.Scanner;

public class TestOddorEven {
	public static void main(String[] args) {
		System.out.println("请输入一个数：");
		Scanner sc=new Scanner(System.in);
		int num=sc.nextInt();
		if(num%2==0 ? true:false){
			System.out.println("是偶数");
		}else{
			System.out.println("是奇数");
		}
	}
}
